package com.xpresso.utils.unitTests.sockets;

import junit.framework.TestCase;

import com.xpresso.utils.exceptions.XpressoException;
import com.xpresso.utils.sockets.SimpleOutSocketHandler;
import com.xpresso.utils.sockets.XSocket;

public class TestXSocket extends TestCase {

	public void testXSocket(){
		System.out.println("Starting XSocket test ...");
		XSocket socket = new XSocket();
		SimpleOutSocketHandler sHandler = new SimpleOutSocketHandler(); 
		try {
			socket.startSocket(sHandler);
		} catch (XpressoException e) {
			e.printStackTrace();
			fail();
		}
	}
	
}
